package com.ruoyi.wallet.domain;

import java.math.BigDecimal;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户钱包对象 sys_wallet
 * 
 * @author 张富饶
 * @date 2025-05-20
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Wallet extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 账户余额 */
    @Excel(name = "账户余额")
    private BigDecimal balance;

    /** 货币类型 */
    @Excel(name = "货币类型")
    private String currency;

    /** 状态（0-冻结 1-正常） */
    @Excel(name = "状态", readConverterExp = "0=-冻结,1=-正常")
    private Integer status;


}
